<template>
  <div>
    <page-bg class="page-bg" title="关于我"></page-bg>
    <n-grid item-responsive>
      <n-gi span="1 800:1 1200:4" />
      <n-gi span="22 800:22 1200:16">
        <div class="about-me" :class="sideTheme">
          <h3 class="me-title">
            <Link class="icon" />
            博主介绍
          </h3>
          <p class="me-content">
            <strong>
              <span style="color:#49b1f5">荒</span>，还没想好写点啥。。。
            </strong>
          </p>
          <h3 class="me-title">
            <Link class="icon" />
            联系作者
          </h3>
          <ul class="article-container">
            <li>
              微信：ChristmasMarryYou
            </li>
            <li>
              QQ：2351319763
            </li>
          </ul>
        </div>
      </n-gi>
      <n-gi span="1 800:0" />
    </n-grid>
  </div>
</template>

<script setup name="AboutMe">
import PageBg from "@/components/PageBg/index.vue"
import { Link } from "@vicons/fa";
import { useSettingsStore } from "@/store"

const settingsStore = useSettingsStore();
const sideTheme = computed(() => settingsStore.sideTheme);
</script>

<style lang="scss" scoped>
* {
  padding: 0;
  margin: 0;
}
.page-bg {
  width: 100%;
  height: 400px;
}
.about-me {
  box-sizing: border-box;
  margin-top: 20px;
  padding: 40px 35px;
  background: rgba(255, 255, 255, 0.9);
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 3px 8px 6px rgba(7,17,27,0.05);
  .icon {
    width: 20px;
    height: 20px;
    color: #f47466;
    transition: all 0.2s ease-out;
    margin-bottom: -3px;
  }
  .me-title {
    transition: all 0.2s ease-out;
  }
  .me-title:hover {
    transform: translateX(20px);
    .icon {
      color: #49b1f5;
    }
  }
}
.me-content {
  margin: 15px 0;
}
.article-container {
  list-style-type: circle;
  padding-left: 30px;
  li {
    margin: 4px 0;
  }
  li::marker {
    color: #49b1f5;
    font-weight: 600;
    font-size: 1.05em;
  }
}

.theme-dark {
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFFB3; 
}
</style>